#
#2008 Julka Lipkova
#

import pygtk
pygtk.require('2.0')
import gtk

class EntryDialog( gtk.Dialog ):
    def __init__( self, title = None, parent = None, flags = gtk.DIALOG_MODAL):
        gtk.Dialog.__init__( self, title, parent, flags, 
                ( gtk.STOCK_CANCEL, gtk.RESPONSE_REJECT,
                gtk.STOCK_ADD, gtk.RESPONSE_ACCEPT ) )
        self.entry = gtk.Entry()
        lbl = gtk.Label( title )
        self.vbox.pack_start( lbl )
        self.vbox.pack_start( self.entry )
        lbl.show()
        self.entry.show()






# vim: set ts=4 sw=4 sts=4 et :
